<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>用户登陆</title>
<link rel="stylesheet" href="${basePath}css/normalize.css" />
<link rel="stylesheet" href="${basePath}css/default.css"/>
<link rel="stylesheet" href="${basePath}css/styles.css"/>
<style>
.error {
	text-align: center;
	color: #f00
}
</style>
</head>
<body>

	<article class="htmleaf-container">
	<div class="panel-lite">
		<div class="thumbur">
			<div class="icon-lock"></div>
		</div>
		<c:choose>
			<c:when test="${not empty manager}">
				<div class="error">${errors}</div>
			</c:when>
		</c:choose>
		<h4>用户登录</h4>
		<form action="${basePath}manager/login" method="post">
			<div class="form-group">
				<input type="text" name="name" required="required"
					class="form-control" /> <label class="form-label">用户名 </label>
			</div>
			<div class="form-group">
				<input name="password" type="password" required="required"
					class="form-control" /> <label class="form-label">密 码</label>
			</div>
			<button class="floating-btn">
				<i class="icon-arrow"></i>
			</button>
		</form>
	</div>
	</article>

</body>
</html>
